package com.jeeplus.test.jlnu.graduationInfo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.test.jlnu.archivalInfo.domain.entity.ArchParmerter;
import com.jeeplus.test.jlnu.graduationInfo.domain.entity.GraduationPameter;
import com.jeeplus.test.jlnu.graduationInfo.domain.vo.GraduationInfoReqVo;
import net.sourceforge.pinyin4j.format.exception.BadHanyuPinyinOutputFormatCombination;

import java.util.Map;

public interface GraduationInfoService {
    Page<GraduationInfoReqVo> getGraduationInfoPage(ArchParmerter graduationInfoReqVo, Page<GraduationInfoReqVo> page);

    int searchIn(String name, String idCardNum);

    Map<String, String> internalQueries(GraduationPameter graduationPameter) throws BadHanyuPinyinOutputFormatCombination;

    Map<String, String> selectAll(String idCardNum, String name);

    GraduationPameter selectAllByStuId(String studentId, String name);

    int updateGraduation(GraduationInfoReqVo graduationInfoReqVo);

    int addGraduationInfo(GraduationInfoReqVo graduationInfoReqVo);
}
